/*
 ============================================================================
 Name        : Common.h
 Author      : Sherry Krikszer
 Version     : --
 Copyright   : --
 Description : in C, Ansi-style
 ============================================================================
 */

#ifndef COMMON_H_
#define COMMON_H_

/* ----------------------------------------------------------------------------
 *	Constants Definition
 * ----------------------------------------------------------------------------*/

#define EMPTY_LINE 	  			""
#define LINE_END				'\0'
#define NEW_LINE				'\n'

#define TAB						'\t'
#define SPACE 					' '

#define EQUAL_STRINGS 				0
#define MAX_LINE_LENGTH 			200
#define MAX_ERROR_MESSAGE_LENGTH	400
#define MAX_LINE_COUNT				4000

#define POSITIVE_NUMBER_SIGN '+'
#define NEGATIVE_NUMBER_SIGN '-'

#define STRING_START_MARKER	 '"'
#define STRING_END_MARKER	 STRING_START_MARKER


/* ----------------------------------------------------------------------------
 *	Constants Definition End
 * ----------------------------------------------------------------------------*/

/* ----------------------------------------------------------------------------
 *	Type Definition
 * ----------------------------------------------------------------------------*/

typedef enum {FALSE = 0, TRUE = 1} Boolean;

typedef struct
{
	char line[MAX_LINE_LENGTH];
	int lineNumber;
}FileLine;

typedef char ErrorMessage[MAX_ERROR_MESSAGE_LENGTH];

/* ----------------------------------------------------------------------------
 *	Type Definition End
 * ----------------------------------------------------------------------------*/

#endif /* COMMON_H_ */


